home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Other Langs / Tickle-4.0 (tcl) / library / help / tcl / variables / unset < prev    next >
Encoding:
Text File  |  1993-10-26  |  728 b   |  19 lines  |  [TEXT/$Tcl]

  1.  
  2.           unset name ?name name ...?
  3.  
  4.  
  5.      DESCRIPTION
  6.           This command removes one or more variables.  Each name is  a
  7.           variable  name,  specified  in any of the ways acceptable to
  8.           the set command.  If a name refers to an element of an array
  9.           then  that  element is removed without affecting the rest of
  10.           the array.  If a name consists of  an  array  name  with  no
  11.           parenthesized  index, then the entire array is deleted.  The
  12.           unset command returns an empty string as result.   An  error
  13.           occurs  if any of the variables doesn't exist, and any vari-
  14.           ables after the non-existent one are not deleted.
  15.  
  16.  
  17.      KEYWORDS
  18.           remove, variable
  19.